package com.frank.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Author: huweifeng
 * @Date: 2022/11/28
 * @Description: 测试@Value注解
 **/
@Data
public class ValueAnno {
    @Value("Frank")
    private String name;
    @Value("#{30-2}")
    private Integer age;
    @Value("${nickName}")
    private String nickName;
}
